package cn.wzy.service;


import cn.wzy.pojo.Permission;
import cn.wzy.results.ResponseResult;
import cn.wzy.vo.GoPageVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * (Permission)表服务接口
 *
 * @author makejava
 * @since 2022-12-12 19:57:25
 */
public interface PermissionService extends IService<Permission> {


    ResponseResult permissionPage(GoPageVo goPageVo);

    ResponseResult savePermission(Permission permission);

    ResponseResult deletePermission(Long id);

    ResponseResult deletePermissionList(List<Long> ids);

    ResponseResult getPermissionParent();

    ResponseResult getPermissionTree();

    ResponseResult getAllSn();

}
